<template>
  <!-- <Fragment>2323</Fragment> -->
  <a-layout-sider
    :collapsedWidth="0"
    :width="350"
    collapsible
    v-model:collapsed="collapsed"
    :trigger="null"
  >
  2132
    <a-button @click="collapsed = !collapsed" >shouqi</a-button>
  </a-layout-sider>
</template>
<script setup lang="ts">
import { Fragment, nextTick, ref, watch } from "vue"
import { useChartEditStore } from "@/store/modules/chartEditStore/chartEditStore"
const chartEditStore = useChartEditStore();
const collapsed = ref(false);
watch(() => collapsed.value, (newVal) => {
  setTimeout(() => {
    chartEditStore.computedScale()
  }, 500)
})
</script>